package com.macro.mall.tiny.modules.ums.controller.scheduled;

import com.macro.mall.tiny.common.service.RedisService;
import com.macro.mall.tiny.modules.ums.model.Course;
import com.macro.mall.tiny.modules.ums.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: i_kun
 * @Desc: o_。
 * @create: 2025-06-30 14:43
 */
//@Component
public class CourseScheduled {
//    @Autowired
//    private CourseService courseService;
//    @Scheduled(fixedRate = 5000)
//    private void test(){
//        System.out.println("现在时间是"+System.currentTimeMillis());
//    }
//    @Scheduled(cron = "0/5 * * * * ?")
//    private void test2(){
//        courseService.listJob();
//    }
}
